{% extends 'base.html' %}

{% block title %}Login{% endblock %}

{% block subheader %}Login{% endblock %}

{% block main %}

{% if error %}<p><strong>{{ error }}</strong></p>{% endif %}
{% if success %}<p><strong>{{ success }}</strong></p>{% endif %}

<form action="." method="post">
  <fieldset class="module aligned">
    <div class="form-row">
        <label for="username">Username: </label>
        <input type="text" name="username" id="username" style="width: 300px;" />      
    </div>
    <div class="form-row">
        <label for="password">Password: </label>
        <input type="password" name="password" id="password" style="width: 300px;" />      
    </div>    
  </fieldset>
  <div class="submit-row">
    <input type="submit" value="Submit" class="default" />
  </div>  
</form>
{% endblock %}
